| 123456789101112131415161718192021222324 |
- <script>
- import {page} from "$app/state";
- let name = $state("");
- let description = $state("");
- const submit = async ()=>{
- console.log("submit");
- }
- </script>
- <main>
- <form bind:value={submit}>
- <label>Name:
- <input bind:value={name} type="text" required>
- </label>
- <label>Description:
- <textarea bind:value={description}></textarea>
- </label>
- <button>Create Character</button>
- </form>
- </main>
|